package com.xunk.system.entity.ruying;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;
import java.util.Map;

public class DeviceService {

    /**
     * 设备id
     */
    private String did;

    /**
     * 服务id
     */
    private String siid;

    /**
     * 服务type
     */
    private String type;

    /**
     * 服务描述
     */
    private Map<String, String> description;

    /**
     * 服务下的属性
     */
    private List<DeviceProperty> properties;

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getSiid() {
        return siid;
    }
    @JSONField(name = "iid")
    public void setSiid(String siid) {
        this.siid = siid;
    }

    public String getType() {
        return type;
    }
    @JSONField(name = "type")
    public void setType(String type) {
        this.type = type;
    }

    public Map<String, String> getDescription() {
        return description;
    }
    @JSONField(name = "description")
    public void setDescription(Map<String, String> description) {
        this.description = description;
    }

    public List<DeviceProperty> getProperties() {
        return properties;
    }
    @JSONField(name = "properties")
    public void setProperties(List<DeviceProperty> properties) {
        this.properties = properties;
    }
}
